create an array from a tuple